<!DOCTYPE html>
<html lang="zh-CN" >
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>想即做thinkTodo任务清单</title>

<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="bookmark" href="/favicon.ico"/>
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">

<link href="/libs/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/_assets/css/fonts.css">


<!--
本地 Bootstrap 核心 CSS 文件
本地jQuery文件。务必在bootstrap.min.js 之前引入
本地 Bootstrap 核心 JavaScript 文件 
-->
    
<link rel="stylesheet" href="/libs/bootstrap-3.3.5-dist/css/bootstrap.min.css">
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
<script src="/libs/jquery-3.4.1.js"></script>
<!-- <script src="/libs/jquery/jquery-1.11.3.min.js"></script> -->
<script src="/libs/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/libs/moment.min.js"></script>

 <!--
 <link rel="stylesheet" href="/libs/jquery-ui/themes/base/jquery.ui.all.css">     
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
-->      
    <!-- Add IntroJs styles -->

<link rel="stylesheet" href="/_assets/css/base.css" >
<link rel="stylesheet" href="/_assets/css/home_with_bs.css" >
<link rel="stylesheet" href="/_assets/css/task_with_bs.css" >
<link rel="stylesheet" href="/_assets/css/style_tags.css" >
<style>
div.task{
	
}
.task_head{
	border-bottom:dashed 1px gray;
	width:100%;
}
.gante_head,.gante_bar{
	display:inline-block;
    position: absolute;
	background-color: darkseagreen;
    border-radius: 5px;
 }
 #gante_head{
	position: absolute;
	right:50px;
	left:36rem;
	z-index:7;
	height:100%;
	/* top:80px;
	bottom:10px; */

 }
 #gante_head table{
	 height:100%;
	 width:100%;
	 vertical-align:top;
	 text-align:center;
 }
 #gante_head table thead{
	 background-color:gray;
 }

 td{border:1px dashed blue;width:30px;}
 table{
 width: 800px;
    position: absolute;
    z-index: 4;
}
tr#timezone{height:400px;}
#gante_container{
	width:99%;
}
.view_container{
	/* width:95%; */
}
#gante_view{
	width:100%;
	padding-right:30px;
}
.irs.irs--flat{
	/* position:absolute;
	right:50px;
	left:350px;
	z-index:8;
	display:inline-block; */
}

/* div.task[show-child="open"]>div.task{
	display:block;
}
div.task[show-child="close"]>div.task{
	display:none;
}
div.task[show-child="open"]>.task_head>a.expend_fold>i:before{
	content: "\f115";
}
div.task[show-child="close"]>.task_head>a.expend_fold>i:before{
	content: "\f114";
} */
</style>
      
<link href='/libs/fullcalendar-1.6.1/fullcalendar/fullcalendar.css' rel='stylesheet' />
<link href='/libs/fullcalendar-1.6.1/fullcalendar/fullcalendar.print.css' rel='stylesheet' media='print' />

<!-- <script src='/libs/fullcalendar-1.6.1/jquery/jquery-1.9.1.min.js'></script> -->
<script src="/libs/layer/layer.js"></script>	

<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.0/css/ion.rangeSlider.min.css"/> -->
<link  href='/libs/rangeslider.js-2.3.0/ion.rangeSlider.css' rel='stylesheet' />
<script src="/libs/rangeslider.js-2.3.0/ion.rangeSlider.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.0/js/ion.rangeSlider.min.js"></script> -->

 <script type="text/javascript"> 
	var workarea='';
	var node_type_icon = new Object();
	node_type_icon["S"] ="fa-search";
	node_type_icon["undefined"] ="";
	domain="www.thinktodo.cn";
	
	var drag_type="task";
	var calendar_show=true;
	var current_edit_taskid;
	var current_opt_task_id;
	var current_opt_dom_id;
	var unique_dom_id=1000;//用于生成唯一dom id的起始序号
	var anchor_taskid;
	rootTaskId="";

	var time_unit_type = 'month';
	var min = moment().valueOf();
	var max = moment().valueOf();


function refresh_all_and_append(){
		var url;
		var str;
		var rootTaskId = $("#parm").attr("data-rootTaskId");
		console.log(unique_dom_id);
		console.log(rootTaskId);

		if(!rootTaskId||rootTaskId==1){
			url="/index.php/task/getall/"+Math.ceil(Math.random()*100);
			str='<div data-taskid="1" class="task getby_parent area" id="cate_task"  data-getway="R"  ondrop="task_drop(event)"  >		<a class="expend_fold" href="###" title="展开"><i class="fa fa-folder-o"></i></a><span class="task_title task_for_drag ">所有分类任务</span>'
				+'<a class="icon_button btn_for_toolbar" href="###" title="操作面板1"><i class="fa fa-lg fa-angle-double-right"></i></a>'
				+'</div>';			
			$("#alltask_view").append(str);			
			str='<div data-taskid="2" class="task getby_parent" id="902"  data-getway="R"  ondrop="task_drop(event)"  >		<a class="expend_fold" href="###" title="展开"><i class="fa fa-folder-o"></i></a><span class="task_title task_for_drag ">不分类任务</span>'
				+'<a class="icon_button btn_for_toolbar" href="###" title="操作面板2"><i class="fa fa-lg fa-angle-double-right"></i></a>'
				+'</div>';	
			$("#alltask_view").append(str);	
			str='<div data-taskid="3" class="task getby_parent area" id="903"  data-getway="R"  ondrop="task_drop(event)" >'
				+'<a class="expend_fold" href="###" title="展开"><i class="fa fa-folder-o"></i></a>'
				+'<span class="task_title task_for_drag ">不再关注任务</span>'
				+'<a class="icon_button btn_for_toolbar" href="###" title="操作面板3"><i class="fa fa-lg fa-angle-double-right"></i></a>'
				+'</div>';
			$("#alltask_view").append(str);	
		}else{
			url="/index.php/tasktree/getallchild/"+rootTaskId;
		}
		var loading=layer.msg('正从服务器上加载数据，请稍候！', {icon: 16});
//		var loading = layer.load(2); //换了种风格

		var items;
		$.getJSON(url, 
			function(dataGet) { 
//			console.log(dataGet);
				if(dataGet.data){
//					console.log(dataGet.data);
					console.time('生成任务DOM开始');
					items=dataGet.data;
						var frag = document.createDocumentFragment();
						$.each(items,function(idx,item){ //生成所有任务，先放到任务挂装区
	//						console.log(item);//每个约5ms左右
//                            $("#904").append(new_task(item));//用在frag中挂装，而后一次性挂装到DOM，提高性能
							$(frag).append(new_task(item));
							// min = Math.min(min,moment(item.start_date).valueOf());
							// max = Math.max(max,moment(item.end_date).valueOf());

							// console.log(moment(min).format('YYYY-MM-DD'));
    // console.log(moment(max).format('YYYY-MM-DD'));
						});
						
						$("#904").append($(frag));//
						console.log('挂装活动任务');
					console.timeEnd('生成任务DOM结束');
						$("#904>div.task").hide();
                        $.each(items,function(idx,item){ //所有任务依据自己的parnet挂装
//							console.log(item);//每个需15ms左右
							$("#904 .task[data-taskid="+item.id+"]").appendTo($(".task[data-taskid="+item.parent+"]"));

						});	
						

						$("#gante_view").append($(" .task[data-taskid="+rootTaskId+"]"));


					
					$('#btn_refresh_all i').removeClass('fa-spin');
					expend_icon_status();
					$("#gante_view").show();
					$("#gante_view div.task").show();
					// $("#gante_view>div.task").attr("show-child","open");
					//关闭
//					layer.close(index); 
					layer.close(loading); 
					// count_bar();
				}
				//展开进度条
				expend_gante_bar();
			}		
		);
		$('#btn_refresh_all i').addClass('fa-spin');  


		
}			
 function new_task(item){
//	console.log(item);
//	var new_dom_id = (new Date()).valueOf()+Math.round((Math.random()*1000)); 
	var new_dom_id = unique_dom_id++;
//	console.log(new_dom_id);
	var htmlstr='<div  data-taskid="'+item.id+'" ';
	if(item.getway=='S'){
		htmlstr+=' class="task getby_search " id="'+new_dom_id+'"';
		
	}else{
		htmlstr+=' class="task getby_parent " id="'+new_dom_id+'"'
		+' draggable="true" ondragstart="task_dragstart(event)" ';//仅有正常节点才能被拖放
	}
	htmlstr=htmlstr
	+' data-sort="'+item.sort+'"'
	+' data-stage="'+item.stage+'"'
	+' data-active="'+item.active+'"'
	+' data-archive="'+item.archive+'"'
	+' data-getway="'+item.getway+'"'
	+' data-intags="'+item.intags+'"'
	+' data-tags="'+item.tags+'"'
	+' data-start="'+item.start_date+'"'
	+' data-end="'+item.end_date+'"'	
	+' data-simple="'+item.simple+'"';
	if(!item.nodetype){
		htmlstr+='  ondrop="task_drop(event)" ';
	}
	htmlstr+=' show-child="close" ';
	htmlstr+='>';
//	console.log(htmlstr);
	htmlstr+=gante_task_header(item)+'</div>';
	
	return htmlstr;
}
	
function gante_task_header(item){//用push代替+=，以提高性能
	var buf = [];
	buf.push('<div class="task_head">')
	buf.push('<span class="right_btn"><a><i class="fa fa-angle-up"></i></a><a><i class="fa fa-angle-down"></i></a><a><i class="fa fa-angle-right"></i></a></span>');
	buf.push('<a class="expend_fold" href="###" title="展开"><i  class="fa fa-folder-open-o"></i></a>'
		+'<i  class="fa '+node_type_icon[item.nodetype]+'"></i>'	
		+'<span class="task_title task_for_drag " title="'+String(item.in_date)+'">'+item.title+'</span>'
	);
	
//	htmlstr+='<span class="task_stage"><i  class="fa '+stage_icon[item.stage]+'"></i></span>';//使用font-awesome的字体图标
	buf.push('<a class="stage_icon"><i></i></a>');//使用样式表图形文件图标
//	htmlstr+='<img class="stage_icon" src="'+stage_svg_icon[item.stage]+'" >';//使用图标数组
//	console.log('<span class="start_date">&nbsp;'+'&nbsp;</span>');
	buf.push('<span class="start_date">' + (item.start_date?String(item.start_date).substring(5,10):'') + '</span>');
//	buf.push('<span class="tags">'+(item.tags?tags_split_html(String(item.tags)):'')+'</span>');
//	buf.push('<span class="iconbar">'+(item.intags?style_tags_split_html(String(item.intags)):'')+'</span>');
	buf.push((item.internal_link>0)
				?'<a class="task_internal_link" href="###" data-internal_link="'+item.internal_link+'" title="关联到其它任务"><i class="fa fa-share-square" onclick="position_task_id('+item.internal_link+')"></i></a>'
				:'<a class="task_internal_link"></a>'
			);

	
	if(item.link){
		r=item.link.match(/http[s]?\:\/\/([^\/]*)/);

		if(r){

			buf.push('<a class="task_link" href="'+item.link+'" target="_blank" title="外链" ><img  class="fa fa-link" src="'+r[0]+'/favicon.ico'+'" onerror="this.src=\'/_assets/icons/link.svg\';"></a>');
		}else{
			buf.push('<a class="task_link" href="'+item.link+'" target="_blank" title="外链"><i class="fa fa-link"></i></a>');			
		}
	}else{
		buf.push('<a class="task_link"></a>');
	}
	if(item.photo){
		buf.push('<a class="task_photo_icon" href="###" title="图片" data-url="'+item.photo+'"><i class="fa fa-photo"></i></a>');
	}else{
		buf.push('<a class="task_photo_icon"></a>');
	}
	if(item.comment){
		buf.push('<a class="task_comment_icon" href="###"  title="备注"><i class="fa fa-comment"></i></a>');
	}else{
		buf.push('<a class="task_comment_icon"></a>');
		item.comment='';
	}
//	buf.push('<a class="un_active"><i class="fa fa-indent"></i></a>');
	buf.push('<a class="magic_icon"><i class="fa"></i></a>');
	// var base=moment();//设置为根任务的start,比例按根任务的end来计算
	// var start=moment(item.start_date);
	// var end= moment(item.end_date);
	// var bar_left=400 + (start.diff(base,'days')*10);
	// var bar_width=(end.diff(start,'days'))*10;
	// console.log(bar_left);
	// console.log('width:'+bar_width);
//	buf.push('<span class="gante_bar" style="left:'+bar_left+'px;width:'+bar_width+'px">>></span>');

	buf.push('<a class="icon_button btn_for_toolbar"  href="###"  title="操作面板'+item.id+'"><i  class="fa fa-lg fa-angle-double-right"></i></a>');

	// buf.push('<input class="gante_bar js-range-slider"></input>');
	buf.push('</div>')
	return  buf.join('');
}

function count_bar(){
	var total_start,total_end,days,day_px,start,end,bar_left,bar_width;
	var rootTaskId = $("#parm").attr("data-rootTaskId");
	if(!rootTaskId||rootTaskId==1){
	}else{
		total_start=moment($("div.task[data-taskid="+rootTaskId+"]").attr("data-start"));
		total_end=moment($("div.task[data-taskid="+rootTaskId+"]").attr("data-end"));
	}
	days=total_end.diff(total_start,'days');
	day_px=800/days;
	
	$("div.task[data-taskid="+rootTaskId+"] div.task").each(function(){
		start=moment($(this).attr("data-start"));
		end=moment($(this).attr("data-end"));
		bar_left=400 + (start.diff(total_start,'days')*day_px);
		bar_width=(end.diff(start,'days'))*day_px;
//		console.log($(this));
		$(this).children("span.gante_bar").css("left",bar_left).css("width",bar_width);
//		alert($(this).text());
	});	
	
	var a = [];
	a.push('<tr id="day_title">');
    i=1;
	while(a.length < days){  
        a.push('<td><span>'+i+'</span></td>');
		i++;
    }  
    a.push('</tr>');
	$("table").append(a.join(''));
	
	var a = [];
	a.push('<tr id="timezone">');
    i=1;
	while(a.length < days){  
        a.push('<td></td>');
		i++;
    }  
    a.push('</tr>');
	$("table").append(a.join(''));	
	
	var a = [];
	a.push('<tr id="day_title">');
    i=1;
	while(a.length < days/7){  
        a.push('<td colspan=7>'+total_start.add(7,'days').format('M-D')+'</td>');
		i++;
    }  
    a.push('</tr>');
	$("table").append(a.join(''));
	
	$("table").css("left","400px");
	$("td").css("width",day_px+"px");
	
}

$(document).ready(function() {

	console.log($("#parm").attr('data-rootTaskId'));
	rootTaskId = $("#parm").attr('data-rootTaskId');

	//一键取得所有活动任务并挂装
	refresh_all_and_append();

	 
});	//end of $(document).ready事件

 </script>
</head>
<body>
<div  class="page_header cl" style="width:100%;height:80px;">
	<div class="btn-group r ">
            <button type="button" class="btn btn-warning" title="设置日历格度">日历格度</button>
            <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="caret"></span>
	        </button>
            <ul class="dropdown-menu" style="right:0;min-width:100px;">
                <li><a href="#" onclick="change_unit_type('month');">月</a></li>
                <li><a href="#" onclick="change_unit_type('week');">周</a></li>
                <li><a href="#" onclick="change_unit_type('day');">日</a></li>
                <li><a href="#" onclick="change_unit_type('hour');">时</a></li>
            </ul>
    </div>
<?php echo $loginbar; ?>
<div><div class="logo"><a href="/">&nbsp;<img src="/_assets/img/logo_50_80.png" style="vertical-align:bottom">&nbsp;&nbsp;<span style="color:blue;">think</span><span style="color:red;">todo.cn</span></a></div><h3>想即做 任务清单</h3></div>
</div>

<div id="content_area" style="float:left;width:100%;"  ondragover="dragover_content_area(event);" ondrop="drop_on_content_area(event);"><!--页面主内容区开始 -->
<div style="display:none;" data-taskid="4" class="task getby_parent area" id="904"  data-getway="R" 
		 ondrop="task_drop(event)" >
		<a class="expend_fold" href="###" title="展开"><i class="fa fa-folder-o"></i></a>
		<span class="task_title task_for_drag ">任务挂装区</span>
		<a class="icon_button btn_for_toolbar" href="###" title="操作面板4"><i class="fa fa-lg fa-angle-double-right"></i></a>
	</div>
<div id="gante_container" class="view_container" data-visible="show" data-step="3" data-intro="对任务进行分类组织!"  data-position='bottom' >
<header><i class="fa fa-sitemap fa-rotate-270 fa-2x fa-fw" onclick="view_show_hide('alltask');" title="分类任务"></i>
</header>
<div id="gante_view"  class="view_content area">
<div style="height:0.1px;"></div>
<div id="gante_head">

</div>


</div>
</div>

</div><!--页面主内容区结束 -->

<div id="task_toolbar" class="radius " style="display:none;">
<i id="close_toolbar" class="fa fa-fw fa-remove btn  for_task for_search for_root for_title" style="float:right;" onclick="hide_toolbar()" title="关闭"></i>

<i class="fa fa-fw fa-folder-open btn radius btn-default for_cate_task notfor_active_area" data-node="" onclick="open_cate();" title="只显示当前目录" ></i>
<i class="fa fa-fw fa-refresh     btn radius btn-default for_task for_root for_title" data-node="" onclick="refresh_dom_child()" title="刷新" ></i>
<i class="fa fa-fw fa-sort-up     btn btn-default radius for_task" onclick="upDown('up')" data-node="general" title="上移"></i>
<i class="fa fa-fw fa-sort-down   btn radius btn-default for_task" onclick="upDown('down')" data-node="general" title="下移"></i>
<i class="fa fa-fw fa-crosshairs  btn radius btn-default for_search for_search_view for_history_view" data-node="" onclick="position_task_id()" title="定位"></i>
<i class="fa fa-fw fa-indent      btn radius btn-default for_active_area" onclick="change_task_active(0);" title="非活跃"></i>
<i class="fa fa-fw fa-outdent     btn radius btn-default for_cate_task" onclick="change_task_active(1);" title="活跃"></i>
<i class="fa fa-fw fa-eye-slash   btn radius btn-default for_simple_view_2 for_902" onclick="task_archive_to(3)" title="不关注"></i>
<i class="fa fa-fw fa-eye         btn radius btn-default for_simple_view_3 for_903" onclick="task_archive_to(2)" title="恢复关注"></i>
<i class="fa fa-fw fa-archive     btn radius btn-default for_task" data-node="general" onclick="task_archive()" title="归档/恢复"></i>
<i class="fa fa-fw fa-bullhorn    btn radius btn-default for_task" data-node="general" onclick="pub()" title="发布"></i>
<i class="fa fa-fw fa-trash       btn radius btn-default for_task" data-node="general" onclick="del_myself()" title="删除任务"  ></i>
<br>
<i class="fa fa-fw fa-plus        btn radius btn-default for_task for_root for_advice" data-node="general" onclick="call_add_child_input()" title="增加子任务"  ></i>
<i class="fa fa-fw fa-edit        btn radius btn-default for_task" data-node="general" onclick="task_text_edit('title')" title="修改任务" ></i>
<i class="fa fa-fw fa-tags        btn radius btn-default for_task" data-node="general" onclick="task_text_edit('tags')" title="标签" ></i>
<i class="fa fa-fw fa-gears       btn radius btn-default for_task" data-node="general" onclick="task_text_edit('intags')" title="样式标签" ></i>
<i class="fa fa-fw fa-link        btn radius btn-default for_task" data-node="general" onclick="task_text_edit('link')" title="链接" ></i>
<i class="fa fa-fw fa-share-square btn radius btn-default for_task" data-node="general" onclick="task_text_edit('internal_link')" title="内链" ></i>
<i class="fa fa-fw fa-comment     btn radius btn-default for_task " data-node="general" onclick="show_task_comment()" title="备注" ></i>
<i class="fa fa-fw fa-photo       btn radius btn-default for_task " data-node="general" onclick="task_text_edit('photo')" title="图片" ></i>
<br>
<!--

<div id="text_edit_div" style="display:none;" data-action="title">
<input id="input_text_edit" class="input-text radius" type=text onkeydown='if(event.keyCode==13){edit_task_text_ok();}' value="">
<a class="btn btn-default" herf="###" onclick="edit_task_text_ok();"><i class="fa fa-check-circle-o"></i></a>
<a class="btn btn-default" herf="###" onclick="edit_task_text_cancel();"><i class="fa fa-times-circle-o"></i></a>
</div>


-->
<div class="form-inline" id="text_edit_div" style="display:none;" data-action="title">
<!--
用了bootstrap后，是否不用再写回车代码了，不然会提交两次
<input id="input_simple_task_add" class="form-control radius  "  onkeydown='if(event.keyCode==13){simple_task_add();}'  type=text>
-->
<input id="input_text_edit" class="form-control radius" type=text onkeydown='if(event.keyCode==13){edit_task_text_ok();}' value="">

<button  class="btn btn-primary "  onclick="edit_task_text_ok();"><i class="fa fa-check-circle-o"></i></button>
<button class="btn "  onclick="edit_task_text_cancel();"><i class="fa fa-times-circle-o"></i></button>
</div>


<i class="fa fa-fw fa-square icon-blank btn radius btn-default       for_task for_search" data-node="general" title="无状态" onclick="change_stage('')"> </i>
<i class="fa fa-fw fa-question icon-question btn radius btn-default  for_task for_search" data-node="general" title="疑问" onclick="change_stage('question')"> </i>
<i class="fa fa-fw fa-lightbulb-o icon-think btn radius btn-default  for_task for_search" data-node="general" title="思路" onclick="change_stage('think')"> </i>
<i class="fa fa-fw fa-play-circle icon-doing btn radius btn-default  for_task for_search " data-node="general" title="活动" onclick="change_stage('doing')"> </i>
<i class="fa fa-fw fa-bomb icon-urgent btn radius btn-default        for_task for_search" data-node="general" title="迫切" onclick="change_stage('urgent')"> </i>
<i class="fa fa-fw fa-puzzle-piece icon-hand btn radius btn-default  for_task for_search" data-node="general" title="协作" onclick="change_stage('farm-out')"> </i>
<i class="fa fa-fw fa-pause icon-pause btn radius btn-default        for_task for_search" data-node="general" title="挂起" onclick="change_stage('suspend')"> </i>
<i class="fa fa-fw fa-paper-plane icon-send btn radius btn-default   for_task for_search" data-node="general" title="交差" onclick="change_stage('send')"> </i>
<i class="fa fa-fw fa-check icon-finish btn radius btn-default       for_task for_search" data-node="general" title="完成" onclick="change_stage('finish')"> </i>
<i class="fa fa-fw fa-remove icon-giveup btn radius btn-default      for_task for_search" data-node="general" title="放弃" onclick="change_stage('giveup')"> </i>


</div>
<div id="task_photo_show" class="radius " style="display:none;position:absolute;z-index:5;"><img></div>

<footer>
<div class="footer">
</div>
</footer>
<div id="temp" style="display:none;"></div>
<div id="parm" style="display:none" 
 data-rootTaskId = "<?php echo $rootTaskId;?>" 
 data-workarea = ""
 ></div>
 
    <script src="/libs/mousetrap.min.js"></script>
    <script type="text/javascript" src="/libs/jquery.scrollTo-2.1.2/jquery.scrollTo.js"></script>
    <script src="/_assets/js/app/for_save_search.js"></script>
    <script src="/_assets/js/app/keep_alive.js"></script>
    <script src="/_assets/js/app/task_search.js"></script>
    <script src="/_assets/js/app/mycalendar.js"></script>
    <script src="/_assets/js/app/mycalendar_drag.js"></script>
    <script src="/_assets/js/app/expend_fold2.js"></script>
    <script src="/_assets/js/app/toolbar2.js"></script>
    <script src="/_assets/js/app/taskset.js"></script>
    <script src="/_assets/js/app/task_drag4.js"></script>
    <script src="/_assets/js/app/keyboard.js"></script>
    <script src="/_assets/js/app/viewshow.js"></script>
    <!-- <script src="/_assets/js/app/createtask.js"></script> -->
    <!-- <script src="/_assets/js/app/loadtask4home295.js"></script> -->
    <script src="/_assets/js/app/task_dom_opt.js"></script>
	<script src="/_assets/js/app/recent.js"></script>
    <script src="/_assets/js/app/history_task.js"></script>
	<script src="/_assets/js/app/gante.js"></script>
    <script src="/_assets/js/app/team_task.js"></script>
    <script src="/_assets/js/app/cancel2.js"></script>
    <script type="text/javascript" src="/libs/introjs/intro.js"></script>
    <script src="/_assets/js/app/intro_help.js"></script>
</html>